package com.mec.offload.service;



import com.mec.offload.model.NodeTerm;
import com.mec.offload.model.OffloadSubTask;

import java.util.List;

public interface NodeTermService {
    public List<NodeTerm> getAllNodeTerm();
    public int updateNodeTerm(NodeTerm nodeTerm);
    public int deleteNodeTerm(NodeTerm nodeTerm);
    //    public int addNodeTerm(NodeTerm nodeTerm);
    public NodeTerm findNodeTerm(Integer id);
    public NodeTerm getOriTaskTerm(Integer TaskId);
    public int updateThroughPut(OffloadSubTask offloadSubTask);
    public int queryAllCount();
    public List<NodeTerm>queryAllDataFromTable(int page, int limit);
}
